package com.tanjun.mallservice.apiservice.enums.plu;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum PluOrderTypeEnum {
    DEFAULT("0", "综合"),
    SCALE_NUM("1", "销量"),
    PRICE("2", "价格");
    private String type;
    private String desc;

    /**
     * 枚举数据库存储值
     */

    public String getValue() {
        return this.type;
    }
}
